@import './variables.scss';

// 主页通用样式
.home-container {
  padding-bottom: 20upx;
}

.default-box {
  border-radius: 20upx;
  margin: 20upx;
  box-shadow: 0 10upx 10upx rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 20upx;
}

.data-bord {
  background-color: white;
  padding: 20upx;
}

// 数据网格相关样式
.data-body {
  :deep(.wd-row) {
    margin-bottom: 20upx;
    border-radius: 10upx;
  }

  :deep(.wd-col) {
    text-align: center;
  }

  :deep(.wd-col view:first-child) {
    font-size: 34upx;
    color: $primary-color;
  }

  :deep(.wd-col view:last-child) {
    font-size: 24upx;
    color: #000000;
    margin-top: 10upx;
  }

  // 特殊处理 span=24 的列
  :deep(.wd-col-24 view:first-child) {
    font-size: 48upx;
    color: #ff6600;
  }
}

.grid-data {
  background-color: $secondary-color;
  margin: 0 10upx;
  padding: 35upx;
  border-radius: 30upx;
}

// 下拉菜单样式
.drop-menu {
  :deep(.wd-drop-menu__item) {
    background-color: rgb(219, 219, 219);
    border-radius: 50upx;
    width: 100upx;
  }

  :deep(.wd-drop-menu__item::after) {
    border-color: #007aff;
  }

  :deep(.wd-drop-menu__item-text) {
    font-weight: bold;
  }
}

.data-headers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20upx;
}

.data-title {
  font-size: 28upx;
  font-weight: bold;
  flex-grow: 4;
}

.drop-out {
  flex-grow: 1;
}
